<?
include "conn.php";
$zone_id_seo=mysqli_real_escape_string($conn,$_GET['zone_id']);
$parent_id_seo=mysqli_real_escape_string($conn,$_GET['parent_id']);
$shop_id_seo=mysqli_real_escape_string($conn,$_GET['shop_id']);
if($shop_id_seo==0)
{
	if($parent_id_seo==0)
	{
		if($zone_id_seo==0)
		{
		    $keywords_seo= "大连外卖订餐美食网大连外卖网,大连快餐网,大连订餐,大连美食,大连网上订餐大连外卖订餐美食网";
			$description_seo="速订客—大连外卖网，大连订餐，大连美食。大连最好的网上订餐平台，为您提供最新最全的24小时外卖送餐电话、外卖菜单等外卖订餐详细信息。包括肯德基网上订餐电话，麦当劳网上订餐电话。";
			$title_seo="大连外卖订餐美食网大连外卖网|大连快餐网|大连订餐|大连美食|大连网上订餐 - 速订客|速定客|SuDingKe.com - 速订客，预订美好生活！";
		}
		else
		{
			$res= "SELECT * FROM `biz_zone` where zone_id='$zone_id_seo'";
			$res = mysqli_query($conn,$res);
			$res = mysqli_fetch_array($res);
			$res_seo = $res['name'];
			$keywords_seo = "大连外卖信息,大连".$res_seo."外卖送餐,网上订餐";
			$description_seo="速订客—".$res_seo."外卖网，大连订餐，大连美食。大连最好的网上订餐平台，为您提供最新最全的24小时外卖送餐电话、外卖菜单等外卖订餐详细信息。包括肯德基网上订餐电话，麦当劳网上订餐电话。";
			$title_seo="大连外卖信息_大连".$res_seo."外卖送餐_网上订餐 - 速订客|速定客|SuDingKe.com - 速订客，预订美好生活！";
		}
	}
	else
	{
		    $res= "SELECT * FROM `biz_zone` where zone_id='$parent_id_seo'";
			$res = mysqli_query($conn,$res);
			$res = mysqli_fetch_array($res);
			$res_seo = $res['name'];
			$resi= "SELECT * FROM `biz_zone` where zone_id='$zone_id_seo'";
			$resi = mysqli_query($conn,$resi);
			$resi = mysqli_fetch_array($resi);
			$resi_seo = $resi['name'];
			$keywords_seo = "大连外卖信息,大连".$res_seo.$resi_seo."外卖送餐,网上订餐";
			$description_seo="速订客—".$res_seo.$resi_seo."外卖网，大连订餐，大连美食。大连最好的网上订餐平台，为您提供最新最全的24小时外卖送餐电话、外卖菜单等外卖订餐详细信息。包括肯德基网上订餐电话，麦当劳网上订餐电话。";
			$title_seo="大连外卖信息_大连".$res_seo.$resi_seo."外卖送餐_网上订餐 - 速订客|速定客|SuDingKe.com - 速订客，预订美好生活！";
	}
	

}
else
{
	        $res_seo = "SELECT * FROM `biz_shop_extra` where shop_id='$shop_id_seo'";
			$res_seo = mysqli_query($conn,$res_seo);
		    $res_seo = mysqli_fetch_array($res_seo);
			
			$keywords_seo = $res_seo['seo_keywords'];
			$description_seo=$res_seo['seo_description'];
			$title_seo= $res_seo['seo_title'];
			
			if( ($keywords_seo*$description_seo*$title_seo)==0)
			{
				$dat_seo="SELECT * FROM `biz_shop` where shop_id='$shop_id_seo'";
			
				if($keywords_seo==0)
				{	
					$keywords = mysqli_query($conn,$dat_seo);
		       		$keywords = mysqli_fetch_array($keywords);
					$keywords_seo =  $keywords['name']."外卖网,外卖电话,外卖信息,". $keywords['address']."快餐外卖送餐,网上订餐";
				}
				if($description_seo==0)
				{
					$description = mysqli_query($conn,$dat_seo);
		       		$description = mysqli_fetch_array($description);
					$work_shop= (unserialize($description['list_data']));
					$work_time=$work_shop['delivery_time'];
					$delivery_desc=$work_shop['delivery_desc'];
					$description_seo = $keywords['name']."外卖网_外卖电话_外卖信息_". $keywords['address']."快餐外卖送餐_网上订餐,
					区域:". $keywords['address'].",地址:". $keywords['address'].",订餐时间:".$work_time.".
					_订餐范围:".$delivery_desc."，具体送餐最低消费需电话咨询店里。,速订客美食网";
				}
				if($title_seo==0)
				{
					$title = mysqli_query($conn,$dat_seo);
		        	$title = mysqli_fetch_array($title);
					$title_seo =  $title['name']."_外卖电话_外卖信息_". $title['address']."快餐外卖送餐_网上订餐-速订客美食网";
				}
			}		
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="<?= $keywords_seo?>" />
<meta name="description" content="<?= $description_seo?>" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/>
<meta http-equiv="Cache-control" content="no-cache" />
<meta name="viewport" content="width=device-width; initial-scale=1.0;  minimum-scale=1.0; maximum-scale=2.0"/>
<meta name="MobileOptimized" content="240"/>
<meta name="Iphone-content" content="320"/>
<meta name="format-detection" content="telephone=no" />
<title><?= $title_seo?></title>
<link rel="apple-touch-icon-precomposed" href="#" />
<link rel="icon" href="/favicon.ico?v=2" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico?v=2" type="image/x-icon" />
<link href="css/common.css" type="text/css" rel="stylesheet" />
</head>